namespace SB2.Core;

public class DisplayDtoAttribute : Attribute
{
    /// <summary>
    /// 显示名称
    /// </summary>
    /// <value></value>
    public string DisplayName { get; set; }
    /// <summary>
    /// 是否显示
    /// </summary>
    /// <value></value>
    public bool Hide { get; set; }
    /// <summary>
    /// 实际 字段名称
    /// </summary>
    /// <value></value>
    public string FieldName { get; set; }
    /// <summary>
    /// 是否支持筛选
    /// </summary>
    /// <value></value>
    public bool Seachable { get; set; }
    /// <summary>
    /// 数据类型
    /// </summary>
    /// <value></value>
    public DisplayDtoDataType DataType { get; set; }
    /// <summary>
    /// 数据源
    /// </summary>
    /// <value></value>
    public string DataSourse { get; set; }

}
